//声明: 该文件需要 swiper,jqueryui,common,toast,jquery

require(["config"], function(config) {
	require(["jquery.ui", "com", "jquery", "zepto", "sw", "toast"], function(jqui, com, jq, zep, sw, t) {
	jq("#tijiao").on("click",function(){
		alert("提交成功");
		window.location.href="http://127.0.0.1/qebody/syner.html";
	})
	(function(){
        	
        	if(com.getCookie("newusername")){	
        		jq("<span>"+com.getCookie("newusername")+"</span><span id='djtc' style='margin:0 5px'>[退出]<span>").appendTo(jq("#usename"));
        		jq("#usename a").css("display","none");
        	}
        	jq('#djtc').on("click",function(){
        		jq('#usename span').css("display","none");
        		jq("#usename a").css("display","block");
        	})
        }())
})
})